# == Schema Information
#
# Table name: naviga_bars
#
#  id            :bigint           not null, primary key
#  deleted_at    :datetime
#  key           :string
#  name          :string
#  order_number  :integer
#  created_at    :datetime         not null
#  updated_at    :datetime         not null
#  admin_user_id :integer
#  company_id    :integer
#
# Indexes
#
#  index_naviga_bars_on_admin_user_id  (admin_user_id)
#  index_naviga_bars_on_company_id     (company_id)
#
class NavigaBar < ApplicationRecord
  def only_key?
    ['myPage', 'priorities', 'portfolio', 'about', 'team', 'contact'].include?(self.key)
  end
end
